How can I properly include a variable in a JavaScript function call without syntax errors

welcome to shbcf.ru